﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace FireMan
{
    public partial class Settings : Form
    {
        public Settings()
        {
            InitializeComponent();
        }

        private void Settings_Load(object sender, EventArgs e)
        {

        }

        private void buttonBrowse_Click(object sender, EventArgs e)
        {
            if (firmFolderBrowser.ShowDialog() == DialogResult.OK)
            {
                firmPlaceBox.Items.Add(firmFolderBrowser.SelectedPath);
            }
        }

        private void buttonSave_Click(object sender, EventArgs e)
        {
            MainWindow.firmPath = firmPlaceBox.SelectedText;
            this.Close();
        }

        private void buttonClose_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
